//
//  UIImage+RelevantWithImage.h
//  YouYunSDKDemo
//
//  Created by superLeaves on 14/12/23.
//  Copyright (c) 2014年 ucfgroup.com. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIImage (RelevantWithImage)

/*
 图片显示规则
 1.  图片始终按比例缩放
 2.  长边始终等于126px;36px<=短边<=126px
 3.  1<=长边/短边<=3.5时,长边=126px
 4.  长边/短边>3.5时,短边=72px,长边只显示中间126px的部分
 */
+ (UIImage *)imageShowRegular:(UIImage *)aImage;




//按原图比例显示
+ (UIImage *)imageShowOrigin:(UIImage *)aImage;


//
+ (UIImage *)fixImageOrientation:(UIImage *) aImage;
@end
